package com.xjscrm.console.param.wwDevice;

import com.xjscrm.console.param.QueryParam;
import com.xjscrm.console.param.group.SheetHeader;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("企业微信机器人查询参数")
@Data
public class WwDeviceQuery extends QueryParam {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("商户ID")
    private Long merId;

    @ApiModelProperty("机器人微信ID")
    private String deviceId;

    @ApiModelProperty("机器人微信昵称")
    private String deviceName;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("手机号类型(0：电信，1：移动， 2：联通)")
    private Integer mobiletype;

    @ApiModelProperty("登录状态(0-离线，1-在线)")
    private Integer loginStatus;
    @ApiModelProperty("开启聊天, 0: 关闭, 1:开启")
    private Integer openChat;
    @ApiModelProperty("分组ID")
    private Long groupId;
    @ApiModelProperty("机器人ID列表")
    private List<Long>deviceUniqueIds;
    @ApiModelProperty("id启始值")
    private Long idStart;

    @ApiModelProperty(value = "自定义列表")
    private List<SheetHeader> fieldList;

    @ApiModelProperty("企业ID")
    private String corpId;

    @ApiModelProperty("机器人微信ID列表")
    private List<String> deviceIds;

    @ApiModelProperty(value = "子账号ID", hidden = true)
    private Long childId;
    @ApiModelProperty(value = "账号类型 0-主账号，1-子账号", hidden = true)
    private Integer operatorType;

    @ApiModelProperty(value = "子账号管理的机器人主键ID", hidden = true)
    private List<Long> childOwnDeviceUniqueIds;

    @ApiModelProperty(value = "在线/离线机器人主键ID", hidden = true)
    private List<Long> loginStatusDeviceUniqueIds;

}
